package so.sao.code.service.config;

import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

//TODO 配置需要整合到一起。
@RefreshScope
@Configuration
@ConfigurationProperties(prefix = "sao.code.mail")
public class CodeMailProperties {

    private List<String> recipients;

	public List<String> getRecipients() {
		return recipients;
	}

	public void setRecipients(List<String> recipients) {
		this.recipients = recipients;
	}  

}
